package com.wan.usercenter.mapper;

import com.wan.usercenter.pojo.BasicMessage;
import com.wan.usercenter.pojo.BasicMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicMessageMapper {
    long countByExample(BasicMessageExample example);

    int deleteByExample(BasicMessageExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicMessage record);

    int insertSelective(BasicMessage record);

    List<BasicMessage> selectByExample(BasicMessageExample example);

    BasicMessage selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicMessage record, @Param("example") BasicMessageExample example);

    int updateByExample(@Param("record") BasicMessage record, @Param("example") BasicMessageExample example);

    int updateByPrimaryKeySelective(BasicMessage record);

    int updateByPrimaryKey(BasicMessage record);
}